<?php
session_start();

if ($_SESSION['id_usuario'] <= 0) {
    session_destroy();
    session_start();
    $_SESSION['mensagem_erro'] = SESSAO_EXPIRADA;
    echo "<meta HTTP-EQUIV='Refresh' CONTENT='0;URL=./index.php'>";                
}
